{template 'header'}
<div class="boxwrap">
  <div class="left710">
    <!--Content-->
    <div class="main_box">
      <dl class="head green">
        <dt>jquery插件</dt>
        <dd> <span><a href="{cat_url(23)}" title="查看更多" class="arrow">&gt;</a></span> </dd>
      </dl>
      <div class="clear"></div>
      <ul class="down_list">
        <!--{php $lists = tag("moduleid=$moduleid&condition=status=3&catid=23&pagesize=3&order=".$MOD[order]."&template=null");}-->
        <!-- {php print_r($lists);}-->
        {loop $lists $v}
        {php if($v['thumb'] == '') $v['thumb'] = '/file/images/view.jpg';}
        <li> <a title="{$v['title']}" href="{$v['linkurl']}" class="pic"><img width="140" height="98" src="{$v['thumb']}" alt="{$v['title']}"></a>
          <h2><a href="{$v['linkurl']}" title="note">{$v['title']}</a></h2>
          <div class="info"> <span class="time">{timetodate($v['addtime'])}</span> <span class="view">{$v['hits']}次浏览</span> </div>
          <div class="note">{$v['keyword']}</div>
        </li>
        {/loop}
      </ul>
      <dl class="head blue">
        <dt>图标素材</dt>
        <dd> <span><a href="{cat_url(24)}" title="查看更多" class="arrow">&gt;</a></span> </dd>
      </dl>
      <div class="clear"></div>
      <ul class="down_list">
        <!--{php $lists = tag("moduleid=$moduleid&condition=status=3&catid=24&pagesize=3&order=".$MOD[order]."&template=null");}-->
        {loop $lists $v}
        {php if($v['thumb'] == '') $v['thumb'] = '/file/images/view.jpg';}
        <li> <a title="{$v['title']}" href="{$v['linkurl']}" class="pic"><img width="140" height="98" src="{$v['thumb']}" alt="{$v['title']}"></a>
          <h2><a href="{$v['linkurl']}" title="note">{$v['title']}</a></h2>
          <div class="info"> <span class="time">{timetodate($v['addtime'])}</span> <span class="view">{$v['hits']}次浏览</span> </div>
          <div class="note">{$v['keyword']}</div>
        </li>
        {/loop}
      </ul>
    </div>
    <!--/Content-->
  </div>
  <div class="left264">
    <!--Sidebar-->
    <div class="sidebar">
      <h3>资源类别</h3>
      <ul>
	  {loop $maincat $k $v}<!--调用顶级分类-->
        <li><a title="{$v['catname']}" href="{$MOD['linkurl']}{$v['linkurl']}"><em class="arrow">&gt;</em>{$v['catname']}</a></li>
		{/loop}
      </ul>
      <h3>推荐资源</h3>
      <div class="focus_list">
        <ul>
          <!--{php $commend = tag("moduleid=$moduleid&condition=status=3 AND level=1 &catid=".$catid."&pagesize=6&order=".$MOD[order]."&template=null");}-->
          {loop $commend $v}
		  {php if($v['thumb'] == '') $v['thumb'] = '/file/images/view.jpg';}
		  <li>
            <a title="{$v['title']}" href="{$v['linkurl']}">
              <img src="{$v['thumb']}" width="100" height="100" alt="{$v['title']}" />
              <span>{$v['title']}</span>
            </a>
          </li>
		  {/loop}
        </ul>
        <div class="clear"></div>
      </div>
      <h3>下载排行</h3>
      <ul class="rank_list">
        <!--{php $hits = tag("moduleid=$moduleid&condition=status=3 &catid=".$catid."&pagesize=10&order=hits DESC&template=null");}-->
		{loop $hits $key $v}
		{php $key++;}
        <li class="active">
        
          <span>{timetodate($v['addtime'],2)}</span>
          <i class="num">{$key}</i><a href="{$v['linkurl']}" title="{$v['title']}">{$v['title']}</a>
        </li>
        {/loop}
      </ul>
    </div>
    <!--/Sidebar-->
  </div>
</div>
<div class="clear"></div>
{template 'footer'} 